<html>
<head>
    @include('v1.common.meta')
    <link rel="stylesheet" href="{{elixir('css/basicdata.css')}}">
</head>
<body>
<div class="yjs-grid">
    <div class="yjs-grid-box">
        <div class="layui-tab">
            @if(Auth::check())
                <div class="layui-container">
                    {{--报警数据轮播显示区--}}
                    <br>
                    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 10px;">
                        <legend>报警数据轮播</legend>
                    </fieldset>
                    <div class="layui-carousel" id="dataCarousel" lay-filter="carouselList">
                        <div carousel-item>
                            @foreach($pageArray as $item)
                                <div class="layui-col-md12">
                                    <table class="layui-table" id="{{$item}}"  lay-filter="dataList">
                                    </table>
                                </div>
                            @endforeach
                           {{----}}
                            {{--<div class="layui-col-md12">--}}
                                {{--<table class="layui-table" id="dataCarouselTabel2" lay-filter="dataList">--}}
                                {{--</table>--}}
                            {{--</div>--}}
                        </div>
                    </div>

                    <!-- 回路报警数据列表显示区 -->
                    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 40px;">
                        <legend>报警的回路列表</legend>
                    </fieldset>
                    <div class="layui-row" style="margin-top: -30px">
                        <div class="layui-col-md12">
                            <table class="layui-table" id="dataBody" lay-filter="circuitList">
                            </table>
                        </div>
                    </div>
                </div>
            @else
                <div class="layui-container">
                    <div class="layui-row">
                        <div class="layui-col-md12">
                            <blockquote class="layui-elem-quote-error">
                                友情提示：该功能只面向已成功登录系统，并具有相应权限的用户可用。
                            </blockquote>
                        </div>
                    </div>
                </div>
            @endif
        </div>
    </div>
</div>

@include('v1.common.js')

<script type="text/html" id="groupBtn">
    <div class="layui-btn-group">
        {{--<a class="layui-btn layui-btn-mini" lay-event="editData"><i class="yjs-icon">&#xe61d;</i> 编辑</a>--}}
        {{--<a class="layui-btn layui-btn-mini layui-btn-danger" lay-event="deleteData"><i class="yjs-icon">&#xe61b;</i> 删除</a>--}}
    </div>
</script>

<script src="{{elixir('js/instrument_board.js')}}"></script>
</body>
</html>